import React from 'react';
import { Segmented } from 'antd';

const Tab: React.FC = () => (
  <Segmented<string>
    options={['产品特点', 'API', '产品案例', '服务能力', '应用场景']}
    onChange={(value) => {
      console.log(value); // string
    }}
  />
);

export default Tab;